package org.future.esb.router;

import org.future.esb.Router;

/**
 *@date   2010-4-12 下午07:48:06
 *@author dycc
 *@file   org.future.esb.router.Router_SelectiveConsumer.java
 */
public class Router_SelectiveConsumer implements Router{
	private String tagName = "selective-consumer-router";
	private String clazz = "";
	
	/**
	 * toString
	 */
	public String toString(){
		StringBuilder sb = new StringBuilder();
		sb.append("<" + tagName);
		sb.append(" class=\"" + getClassName() + "\"");
		sb.append(">");
		sb.append("\r\n");
		sb.append("</" + tagName + "\"");
		return sb.toString();
	}
	
	public String getTagName() {
	    return tagName;
    }
	public void setTagName(String tagName) {
	    this.tagName = tagName;
    }
	
	public String getClassName() {
	    return clazz;
    }
	public void setClassName(String clazz) {
	    this.clazz = clazz;
    }
}
